package extendsdemo;

public class TestDriver {
    public static void main(String[] args) {
        test();
    }
    public static void test(){
        Student stu = new Student();
        //调用行为
        stu.doSleeping();
        stu.doStuding();
        System.out.println("------------------");
        //调用有参构造
        System.out.println(new Student("放荡",23,"男",234,543).getpName());
    }
}
